<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!-- Add "fixed" class to make the sidebar fixed always to the browser viewport. -->
		<!-- Adding class "toggle-others" will keep only one menu item open at a time. -->
		<!-- Adding class "collapsed" collapse sidebar root elements and show only icons. -->
		<div class="sidebar-menu toggle-others fixed">
			
			<div class="sidebar-menu-inner">	
				
				<header class="logo-env">
					
					<!-- logo -->
					<div class="logo">
						<a href="dashboard-1.html" class="logo-expanded">
							<img src="assets/images/logo@2x.png" width="80" alt="" />
						</a>
						
						<a href="dashboard-1.html" class="logo-collapsed">
							<img src="assets/images/logo-collapsed@2x.png" width="40" alt="" />
						</a>
					</div>
					
					<!-- This will toggle the mobile menu and will be visible only on mobile devices -->
					<div class="mobile-menu-toggle visible-xs">
						<a href="#" data-toggle="user-info-menu">
							<i class="fa-bell-o"></i>
							<span class="badge badge-success">7</span>
						</a>
						
						<a href="#" data-toggle="mobile-menu">
							<i class="fa-bars"></i>
						</a>
					</div>
					
					<!-- This will open the popup with user profile settings, you can use for any purpose, just be creative -->
					<div class="settings-icon">
						<a href="#" data-toggle="settings-pane" data-animate="true">
							<i class="linecons-cog"></i>
						</a>
					</div>
					
								
				</header>
						
				
						
				<ul id="main-menu" class="main-menu">
					<!-- add class "multiple-expanded" to allow multiple submenus to open -->
					<!-- class "auto-inherit-active-class" will automatically add "active" class for parent elements who are marked already with class "active" -->
					<li class="active opened active">
						<a href="dashboard-1.html">
							<i class="linecons-cog"></i>
							<span class="title">数据中心</span>
						</a>
						<ul>
						<%if("1".equals(request.getParameter("selectIndex"))){ %>
							<li class="active">
						<%}else{ %>
							<li>
						<%} %>
								<a href="index.jsp">
									<span class="title">主页</span>
								</a>
							</li>
						<%if("2".equals(request.getParameter("selectIndex"))){ %>
							<li class="active">
						<%}else{ %>
							<li>
						<%} %>
								<a href="fileSystem.jsp">
									<span class="title">文件系统</span>
								</a>
							</li>
						<%if("3".equals(request.getParameter("selectIndex"))){ %>
							<li class="active">
						<%}else{ %>
							<li>
						<%} %>
								<a href="downloadCenter.jsp">
									<span class="title">下载中心</span>
								</a>
							</li>
							
							
							<%if("4".equals(request.getParameter("selectIndex"))){ %>
							<li class="active">
						<%}else{ %>
							<li>
						<%} %>
								<a href="downloadList.jsp">
									<span class="title">下载进度</span>
								</a>
							</li>
						</ul>
					</li>
					
				</ul>
						
			</div>
			
		</div>
		
